const state = {
  screenSetting: {
    auto: true
  }
}

const getters = {
  getScreenSetting: state => {
    return state.screenSetting
  }
}

const mutations = {
  editScreenSetting (state, payload) {
    state.screenSetting = {...state.screenSetting, ...payload}
  }
}

export default {
  state,
  getters,
  mutations
}
